//
//  MyViewController.m
//  项目A
//
//  Created by lanou3g on 15/8/30.
//  Copyright (c) 2015年 王钧. All rights reserved.
//

#import "MyViewController.h"
@interface MyViewController ()

@end

@implementation MyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
        // Do any additional setup after loading the view.
    self.i = 0;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)cesi:(id)sender {
    [self dismissViewControllerAnimated:YES completion:nil];
}

- (IBAction)sdad:(id)sender {
    
    NSLog(@"%ld",(long)self.i);
    self.i = self.i + 20;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
